using System;
using System.Collections.Generic;
using System.Text;
using LngT.Interfaces;
using LngT.Interfaces.UserAccess;
using LngT.Interfaces.UserRoles;

namespace LngT.Interfaces
    {
    public interface ISessionManager
        {
        bool Authenticate( string userName, string password );
        IController AddDatabase( string name, string userName, string password );
        bool RemoveDatabase( string name );
        List<string> GetDatabaseList();
        IController GetDatabase( string name );

        void AddUser( string userName, string password, IUserRole privileges );
        bool RemoveUsers( string userName );
        List<string> GetUserList();
        }
    }
